package day03;

public class Test05 {
    public static void main(String[] args) {
        int a=25;
        int b=10;
        int temp=-1;
        while (true){
            temp=a%b;

            if (temp==0){
                break;
            }
            a=b;
            b=temp;


        }
        System.out.println(b);
    }
}
